package com.mtf.mq.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author matengfei
 * @Date 2024/3/13 21:20
 * @PackageName:com.mtf.mq.config
 * @ClassName: RocketMQProperties
 * @Description: TODO
 * @Version 1.0
 */
@Data
@Component
@ConfigurationProperties(prefix = "idempotent.rocketmq")
public class RocketMQProperties {

    // RocketMQ 默认主题名称
    private String defaultTopic = "TBW102";
    // 消息发送地址
    private String namesrvaddr;

    // 其他属性...
}
